package com.migu.contacts.main;

import android.view.View;

import com.frank.libandroid.BaseActivity;
import com.migu.contacts.databinding.ActivityScanBinding;
import com.migu.contacts.main.create.OcrListActivity;
import com.migu.contacts.main.create.RealScanActivity;
import com.migu.contacts.util.PictureUtil;

public class ScanActivity extends BaseActivity<ActivityScanBinding> {
    public void shot(View view) {
        PictureUtil.choosePic(mActivity, 2, new PictureUtil.Callback() {
            @Override
            public void onSuccess(String s) {
                start(RealScanActivity.class, s);
            }
        });

    }

    public void goAlbum(View view) {
        start(OcrListActivity.class);
    }
}